import service from '@/utils/request'

export const getLocationByLocationId = (locationid: any) => {
    return service.get(`system/region/${locationid}`)
}

/**根据code获取字典表的数据 */
export const getDictByCode = (code: Object) => {
    return service.post('/system/dict/list', code)
}